<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>登录界面</title>
<link type="text/css" rel="stylesheet" href="../css/login.css" />

<script type="text/javascript">
function redire(url){
	location = "/networkforum/pages/main.html";
}
document.onkeydown = function(event){
    var event = event||window.event;
    if(event.keyCode==13) {               
    	login2();
    }
}
function checkDefault(){
	var userName = document.getElementById("userName");
	if(userName.value == "用户名"){
		userName.value = "";
	}
}
</script>
</head>

<body>
	<div class="login">
		<div class="leftNav loginInner">
			<div class="register" onclick="javascript:location='/networkforum/pages/register.html'">
			</div>
			<div class="loginIcon">
			</div>
			<span onclick="redire();"><< 返回首页</span>
		</div>
		<div class="rightLogin loginInner">
			<h2 class="loginHeader">Pea tips社区</h2>
			<div class="loginMain">
				<div class="userName userInfo">
					<img src="../images/userNameIcon.gif" />
					<input id="userName" onfocus="checkDefault();" type="text" value="用户名" />
				</div>
				<div class="userPassword userInfo">
					<img src="../images/userPasswordIcon.gif" />
					<input id="userPassword" type="password" value="" />
					<input id="checkNumber" type="text" style="display:none;"/>
				</div>
				<span class="loginButtom" onclick="login2();">Login</span>
				<span class="findPassword">找回密码</span>
				<span class="welcome">欢迎加入Pea tips社区，这是完全娱乐休闲的平台，不包含任何商业元素</span>
			</div>
		</div>
	</div>
</body>
<script src="/networkforum/js/login.js" type="text/javascript"></script>
<script src="/networkforum/js/myajax.js" type="text/javascript"></script>
</html>
